package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    List<AddressBook> getAllAddressBook(AddressBook addressBook);

    void saveAddressBook(AddressBook addressBook);

    void updateAddressBook(AddressBook addressBook);

    AddressBook getAddressBookById(Long id);

    void deleteAddressBookById(Long id);

    void updateDefault(AddressBook addressBook);

    AddressBook getDefaultAddress(AddressBook addressBook);
}
